package cola0502.project.hellospringbootcola0502.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@Slf4j
@RequestMapping("/v1/api/thymeleafs")
public class ThymeleafController {

    @RequestMapping("thymeleaf")
    public String thymeleaf(Model model){
        model.addAttribute("testText", "Hello This is ThymeleafTestText");
        return "thymeleaf";
    }

}
